package com.zhentao.mapper;

import com.zhentao.domain.SQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.dto.QuestionDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
* @author ww
* @description 针对表【s_question】的数据库操作Mapper
* @createDate 2024-07-23 10:02:26
* @Entity com.zhentao.domain.SQuestion
*/
@Mapper
public interface SQuestionMapper extends BaseMapper<SQuestion> {
    Set<SQuestion> listByTypeAndSubId(@Param("subId") Integer subId, @Param("typeId") int typeId);

    List<SQuestion> findAllQuestion(QuestionDto questionDto);
    List<SQuestion> findOneError(QuestionDto questionDto);
    List<SQuestion> findAllError(Integer uid);
}




